package cn.iocoder.yudao.module.ent.document.node;

import cn.iocoder.yudao.module.ent.document.BaseNode;
import lombok.Data;
import org.springframework.data.elasticsearch.annotations.Document;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;

/**
 * 资质证书 节点
 */

@Document(indexName = "node_qualification_cer")
@Data
public class NodeQualificationCer extends BaseNode {

    //公司数据加密id
    @Field(name = "cid", type = FieldType.Keyword)
    private String cid;

    @Field(name = "create_time", type = FieldType.Text)
    private String createTime;

    @Field(name = "code", type = FieldType.Long)
    private Long code;

    //证书编号
    @Field(name = "registerNo", type = FieldType.Text)
    private String registerNo;

    //证书类型
    @Field(name = "type", type = FieldType.Text)
    private String type;

    //发证日期
    @Field(name = "validStart", type = FieldType.Text)
    private String validStart;

    //截止日期
    @Field(name = "validityEnd", type = FieldType.Text)
    private String validityEnd;

}
